home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / windows / ztw120.zip / ARCHIVER.BB2 next >
Text File  |  1997-06-17  |  10KB  |  343 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP, AV and ZTree
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  Name of archiver (ARJ, PKZIP, etc.) with optional [LFN] support
  12. ; 2nd line:  normal extension for archives (like ZIP, ARJ; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course)
  32. ;
  33. ;a semicolon demarks a comment.  they may appear at any point *except*
  34. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameter to
  37. ;prevent it from stopping for input!  also note that archive types are
  38. ;checked in order of their listing in this file.  finally, this file is set
  39. ;up for the archivers I had lying around; if yours are different versions,
  40. ;you may have to modify this file.
  41. ;
  42. ;Change history
  43. ;--------------
  44. ; 1/2/1997 : Kim Henkel  Added '[LFN]' flag to Line 1 of archiver to
  45. ;                        indicate support of long file names.  Currently
  46. ;                        only applies to InfoZip.
  47. ;
  48. ; 4/2/1997 : Kim Henkel  Removed all ZIP SFX support - now handled internally
  49. ;
  50. ;
  51. ;--------------------------Archiver data begins-------------------------------
  52. ;Zip 2.1 and UnZip 5.3 are compression and file packaging utilities compatible
  53. ;with PKZIP 2.04g (Phil Katz ZIP).  This version of zip has been ported to a
  54. ;wide array of Unix and other mainframes, minis, and micros including VMS,
  55. ;OS/2, Minix, MSDOS, Windows NT, Atari, Amiga and VM/CMS. Although highly
  56. ;compatible with PKware's PKZIP and PKUNZIP utilities of MSDOS fame, our
  57. ;primary objective has been one of portability and other-than-MSDOS
  58. ;functionality.  Features not found in the PKWare version include creation of
  59. ;zip files in a pipe or on a device, VMS and OS/2 extended file attributes,
  60. ;conversion from Unix to MSDOS text file format; and, of course, the ability
  61. ;to run on most of your favorite operating systems.  And it's free.
  62. ;
  63. ;See the InfoZip homepage: http://quest.jpl.nasa.gov/Info-Zip
  64. ;
  65. Zip/UnZip 2.1/5.30 [LFN]
  66. ZIP
  67. 0
  68. UNZIP.EXE -v
  69. UNZIP.EXE -jCo
  70. UNZIP.EXE -Co
  71. UNZIP.EXE -t
  72. ZIP.EXE -j9 -@<list
  73. ZIP.EXE -9 -@<list
  74. ZIP.EXE -r9 -@<list
  75. ZIP.EXE -mj9
  76. ZIP.EXE -m9
  77. ZIP.EXE -do
  78. PK\x3\x4
  79.  ------  ------   ----  -----   ----    ----   ------     ----
  80.  ------          ------  ---                              -------
  81. 0
  82. 2
  83. 4
  84. 1
  85. 7
  86. ;-----------------------------------------------------------------------------
  87. ;This entry is for PKZIP 2.04g
  88. ;
  89. ;
  90. PKZip 2.04g
  91. ZIP
  92. 0
  93. PKZIP.EXE -v
  94. PKUNZIP.EXE -o
  95. PKUNZIP.EXE -o -d
  96. PKUNZIP.EXE -t
  97. PKZIP.EXE -a -eX @list
  98. PKZIP.EXE -a -eX -P @list
  99. PKZIP.EXE -a -eX -p -r @list
  100. PKZIP.EXE -m
  101. PKZIP.EXE -m -P
  102. PKZIP.EXE -d
  103. PK\x3\x4
  104.  ------  ------   ----- -----   ----    ----   -------- ----  ----
  105.  ------          ------  ---                                  -------
  106. 0
  107. 2
  108. 4
  109. 2
  110. 8
  111. ;-----------------------------------------------------------------------------
  112. ; This entry is for LHA 2.55
  113. ;
  114. LH 2.55
  115. LZH
  116. 2
  117. LHA.EXE V /o
  118. LHA.EXE x /o
  119. LHA.EXE x /o /s
  120. LHA.EXE t
  121. LHA.EXE a /o
  122.  
  123. LHA.EXE a /o /s
  124. LHA.EXE m /o
  125.  
  126. LHA.EXE d /o
  127. -lh
  128.   --------  --------  --- -------  -------- ------ ----- ----  ----------------
  129.   --------  --------  ---                                      ----------------
  130. 0
  131. 1
  132. 3
  133. 1
  134. 8
  135. ;-----------------------------------------------------------------------------
  136. ;This entry is for Arj 2.50a by ARJ software
  137. ;
  138. Arj 2.50a
  139. ARJ
  140. 0
  141. ARJ.EXE l
  142. ARJ.EXE e
  143. ARJ.EXE x
  144. ARJ.EXE t
  145. ARJ.EXE a -e -jm !list
  146. ARJ.EXE a -jm !list
  147. ARJ.EXE a -r !list
  148. ARJ.EXE m -e
  149. ARJ.EXE m
  150. ARJ.EXE d
  151. \x60\xea
  152. ------------ ---------- ---------- ----- ----------------- -------- -----------
  153. ------------ ---------- ---------- -----
  154. 1
  155. 2
  156. 4
  157. 1
  158. 0
  159. ;-----------------------------------------------------------------------------
  160. ;This entry is for ARC 5.12mpl
  161. ;
  162. Arc 5.12mpl
  163. ARC
  164. 0
  165. ARC.EXE lwn
  166. ARC.EXE ewn
  167.  
  168. ARC.EXE t
  169. ARC.EXE awn
  170.  
  171.  
  172. ARC.EXE mwn
  173.  
  174. ARC.EXE dwn
  175. \x1a
  176. ============  ========  =========
  177.         ====  ========
  178. 1
  179. -1
  180. 2
  181. 3
  182. 0
  183. ;-----------------------------------------------------------------------------
  184. ;This entry is for ARC2 (6.0)
  185. ;Note that I don't actually have a copy of this...
  186. ;
  187. Arc2 6.0
  188. ARC
  189. 0
  190. ARC.EXE l
  191. ARC.EXE ewn
  192.  
  193. ARC.EXE t
  194. ARC.EXE awn
  195.  
  196.  
  197. ARC.EXE mwn
  198.  
  199. ARC.EXE dwn
  200. \x1a
  201. =================  ========  =========
  202.              ====  ========
  203. 1
  204. -1
  205. 2
  206. 3
  207. 0
  208. ;-----------------------------------------------------------------------------
  209. ;This entry is for Zoo 2.1
  210. ;
  211. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  212. ;be extracted w/ paths even when you don't ask it to do so...
  213. ;
  214. ;
  215. Zoo 2.1
  216. ZOO
  217. 20
  218. ZOO.EXE v
  219. ZOO.EXE xO
  220. ZOO.EXE xO/
  221. ZOO.EXE -test
  222. ZOO.Exe ah:
  223. ZOO.EXE ah
  224.  
  225. ZOO.EXE aM:h
  226. ZOO.EXE aMh
  227. ZOO.EXE -delete
  228. \xdc\xa7\xc4\xfd
  229. --------  --- --------  --------- --------
  230. --------  --- --------  --------- --------
  231. 0
  232. 2
  233. 3
  234. 3
  235. 5
  236. ;-----------------------------------------------------------------------------
  237. ;This entry is for RAR2 1.55
  238. ;
  239. ;Doesn't currently support Alt_F5
  240. ;
  241. RAR 1.55
  242. RAR
  243. 0
  244. RAR.EXE l -std
  245. RAR.EXE o
  246. RAR.EXE o -std -d
  247. RAR.EXE t -std
  248. RAR.EXE a -std
  249. RAR.EXE a -std
  250. RAR.EXE a -std -r
  251. RAR.EXE m -std
  252. RAR.EXE m -std
  253. RAR.EXE d -std
  254. Rar!
  255. -------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
  256. -------------- ------- -------- ------ -------- ----- ------ -------- ---- ---
  257. 1
  258. 2
  259. 4
  260. 3
  261. 0
  262. ;-----------------Archiver data ends-----------------------
  263. ;
  264. ;Notes on modifying/updating this file:
  265. ;=====================================
  266. ;
  267. ;You can add as many archivers as you like to this file.
  268. ;here are some suggestions on how to go about it:
  269. ;
  270. ;list an archive with the archiver, redirecting to a disk
  271. ;file (ex. "ARC l AFILE.ARC > TEMP.").  Load the resultant
  272. ;file into a text editor.  Clip out the startlist and endlist
  273. ;strings and paste directly into this file on the appropriate
  274. ;lines; prevents errors due to typos when copying manually.
  275. ;Count the positions of filename, date, etc. and place on the
  276. ;appropriate line.  Now run the archiver redirected to a file
  277. ;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
  278. ;Look for the various command options (extract, list, etc.) and
  279. ;put them into the file on the appropriate lines -- remember to
  280. ;add the modifiers to prevent the archiver from stopping to ask
  281. ;questions!  You could be in deep doo-doo if it's a detached
  282. ;process.  While it may seem a pain in the arse to have to
  283. ;edit this file when an archiver changes its command structure
  284. ;or list format, at least it's something within your control;
  285. ;you don't have to wait for an update to AV.  That means if I
  286. ;die tomorrow you'll still be able to use AV for years to come.
  287. ;
  288. ;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
  289. ;
  290. ;----------------cut here----------------------
  291. ;Name          Length    Date
  292. ;============  ========  =========    <--this line is start-of-list
  293. ;MAKEFILE           374  28 Nov 89
  294. ;QSORT.C          14279  29 Nov 89
  295. ;QSORT.EXE        24629  29 Nov 89
  296. ;STUFF.H            371  29 Nov 89
  297. ;        ====  ========               <--this line is end-of-list
  298. ;Total      4     39653
  299. ;----------------cut here----------------------
  300. ;
  301. ;Note the filename is in position 0, old length in position 1, and the
  302. ;date starts in position 2, with 3 parts, and there's no new length
  303. ;field (so it'd be -1).  Compare that to the archiver entry for
  304. ;ARC 5.12mpl above and you should get a feel for what all those fields
  305. ;mean.  Here's a diagram of how a file line breaks down:
  306. ;
  307. ;STUFF.H            371  29 Nov 89
  308. ;  ^                 ^   ^
  309. ;  |                 |   |
  310. ;  |                 |   +--Date starts in field 2, 3 parts (29, Nov, and 89)
  311. ;  |                 |
  312. ;  |                 +--Old file length, field 1
  313. ;  |
  314. ;  +--Filename, field 0 (count from 0, not 1)
  315. ;
  316. ;
  317. ;If you're adding an entirely new archive format, note that you can
  318. ;use 'C'-style \x<hexnumber> on the signature line in this file.
  319. ;For example, the \x1a in ARC 5.12mpl's signature line means AV will
  320. ;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
  321. ;indicated by ARC's line 3, the offset into a file for the signature)
  322. ;of a file to determine if it's an archive.  If line 3's offset is
  323. ;negative, AV looks from the end of the file instead of the beginning.
  324. ;You can usually figure out what an archiver's signature is by looking
  325. ;at a few archives with a file viewing program like Vernon Buerg's
  326. ;LIST.  By all means send me anything new you figure out for inclusion
  327. ;in future releases.
  328. ;
  329. ;
  330. ;You can have several entries for one type of archive in this file.  AV
  331. ;tries entries sequentially to list the file until it finds one that works.
  332. ;If the first entry for a signature doesn't work, and AV finds one that
  333. ;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
  334. ;to make future accesses faster.  This allows me to list everything I can
  335. ;get entries for and let AV sort out what the user actually has that works.
  336. ;It also lets you, the user, create archives with more than one archiver that
  337. ;produces the same sort of archive (or with different switches, like one with
  338. ;LHArc producing -lh5- compression and one with it producing old, compatible
  339. ;-lh1- compression).
  340. ;
  341. ;
  342. ;always end file with blank line or comment
  343.